#include "global.h"
std::function<void(QWidget*)>repolish=[](QWidget* w){
    w->style()->unpolish(w);
    w->style()->polish(w);
};
std::function<QString(QString)>xorString=[](QString req){
    QString output=req;
    int length=req.length();
    ushort xor_code= length%255;
    for(int i=0;i<length;i++){
        output[i]=QChar(static_cast<ushort>(req[i].unicode()^xor_code));
    }
    return output;
};
QString gate_url_prefix = "";
